package com.ssm.dao;

import com.ssm.entity.Videomessage;
import com.ssm.entity.VideomessageExample;
import com.ssm.entity.vo.PieChartVo;
import com.ssm.entity.vo.VideoMessageVo;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface VideomessageMapper {
    int countByExample(VideomessageExample example);

    int deleteByExample(VideomessageExample example);

    int deleteByPrimaryKey(Integer videoid);

    int insert(Videomessage record);

    int insertSelective(Videomessage record);

    List<Videomessage> selectByExample(VideomessageExample example);

    Videomessage selectByPrimaryKey(Integer videoid);

    int updateByExampleSelective(@Param("record") Videomessage record, @Param("example") VideomessageExample example);

    int updateByExample(@Param("record") Videomessage record, @Param("example") VideomessageExample example);

    int updateByPrimaryKeySelective(Videomessage record);

    int updateByPrimaryKey(Videomessage record);
    
    List<VideoMessageVo> getVmBycondition(VideomessageExample videomessageExample);
    
    List<Videomessage> getTop(VideomessageExample videomessageExample);
    
    List<PieChartVo> getDataAnalysis();
    
    
    
    
}